<%@ Page Language="c#" Inherits="PHSRAG.Insight21.Agreements.AgreementsProjectDetails"
    CodeFile="AgreementsProjectDetails.aspx.cs" %>

<%@ Register TagPrefix="cc2" Namespace="PHSRAG.Insight21.InsightWebControls" Assembly="PHSRAG.Insight21.InsightWebControls" %>
<%@ Register TagPrefix="cc1" Namespace="PHSRAG.WebControls" Assembly="PHSRAG.WebControls" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>AgreementsProjectDetails</title>
    <link href="../Insight21.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="AgreementProjectDetailsForm" method="post" runat="server">
        <table class="Container" width="100%">
            <tr>
                <td>
                    <table class="Header" width="100%">
                        <tr>
                            <td>
                                <cc2:Header ID="header" runat="server" OnNavigate="OnHeaderNavigate" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:AgreementsSubNavigation ID="agreementsSubNavigation" runat="server" EnableOverviewNavigation="False"
                                    OnNavigate="OnSubNavigate" />
                                <cc2:AgreementDetailsSubNavigation ID="agreementDetailsSubNavigation" runat="server"
                                    OnNavigate="OnDetailsSubNavigate" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                                <cc1:BreadCrumb ID="breadCrumb" runat="server" OnNavigate="OnNavigate" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:ProjectHeaderBar ID="projectHeaderBar" runat="server" />
                            </td>
                        </tr>
                    </table>
                    <table id="dynamicTable" class="Invisible" cellspacing="10">
                        <tr>
                            <td>
                                <cc1:ActivityIndicator ID="activityIndicator" runat="server" ContainerID="dynamicTable">
                                </cc1:ActivityIndicator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc1:Annunciator ID="annunciator" runat="server" ContainerID="dynamicTable"></cc1:Annunciator>
                            </td>
                        </tr>
                    </table>
                    <table id="tblGeneral" cellpadding="0" cellspacing="0" width="100%" class="AgreementDetails">
                        <tr class="Title">
                            <td colspan="2">
                                General
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%">
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">Project Status:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="agreementStatus" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">Budget Start/End:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="budgetStartEnd" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">Project Start/End:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="projectStartEnd" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">F&amp;A Basis:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="icBasis" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">IC Rate 1:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="icRate1" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">IC Rate 2:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="icRate2" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">Dept/Unit:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="deptUnit" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">Institution:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="institution" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap;">InfoEd Proposal #:</span>
                                        </td>
                                        <td>
                                            <a id="lbRexFolderNumber" runat="Server"></a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            &nbsp
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table id="tblSponsor" cellpadding="0" cellspacing="0" width="100%" class="AgreementDetails">
                        <tr class="Title">
                            <td colspan="2">
                                Sponsor
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%">
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Sponsor Name:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="sponsorName" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Sponsor Number:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="sponsorNumber" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Sponsor Type:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="sponsorTypeName" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Agreement Type:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="agreementType" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Activity Type:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="activityType" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            &nbsp
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table id="tblFund" cellpadding="0" cellspacing="0" width="100%" class="AgreementDetails">
                        <tr class="Title">
                            <td colspan="2">
                                Fund
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%">
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Fund Number:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="fundNumber" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Fund Type:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="fundType" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Fund Code:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="fundCode" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Account Cycle:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="accountCycle" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">F#/MRN:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="FNumberAndMRN" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">BICS #:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="bicsLegacyNo" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Activation Date:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="activation" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Inactivation Date:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="inactivation" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <span style="white-space: nowrap">Document ID:</span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="documentId" runat="server"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="width: 50%">
                                            &nbsp
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table id="tblAdmin" cellpadding="0" cellspacing="0" width="100%" class="AgreementDetails">
                        <tr class="Title">
                            <td colspan="2">
                                Key Project Contacts
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%">
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltDeppAdmin" runat="server" Text="Dept Administrator:" Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="deptAdministrator" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltPreAwdAdmin" runat="server" Text="Pre-Award Admin :" Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="preAwardAdminName" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltPostAwdAdmin" runat="server" Text="Post-Award Admin :" Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="postAwardAdminName" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltSubContAdmin" runat="server" Text="Subcontract Administrator:"
                                                Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="subContractAdmin" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltIRBAdmin" runat="server" Text="IRB Administrator:" Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="IRBAdmin" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Label ID="contactPersonText" runat="server" Text="Research Finance Contact:"
                                                Visible="false" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Literal ID="contactPerson" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="Label" style="width: 25%">
                                            <asp:Literal ID="ltDeptAdminNumber" runat="server" Text="Dept Administrator #:" Visible="false"></asp:Literal>
                                        </td>
                                        <td style="width: 25%">
                                            <asp:Literal ID="deptAdminNumber" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                        <td style="width: 5%">
                                            <asp:Label ID="deptAdminEmail" runat="server" Text="Email:" Visible="false" Font-Bold="true"></asp:Label>
                                        </td>
                                        <td style="width: 45%">
                                            <span style="white-space: nowrap"><a id="anDeptAdminEmail" runat="server" visible="false">
                                            </a></span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltPreAwdAdmNumber" runat="server" Text="Pre-Award Admin #:" Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="preAwardAdminNumber" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                        <td style="width: 5%">
                                            <asp:Label ID="preAwdAdmEmail" runat="server" Text="Email:" Visible="false" Font-Bold="true"></asp:Label>
                                        </td>
                                        <td style="width: 45%">
                                            <span style="white-space: nowrap"><a id="anPreAwdAdminEmail" runat="server" visible="false">
                                            </a></span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltPostAwdAdmNumber" runat="server" Text="Post-Award Admin #:" Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="postAwardAdminNumber" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                        <td style="width: 5%">
                                            <asp:Label ID="postAwdAdmEmail" runat="server" Text="Email:" Visible="false" Font-Bold="true"></asp:Label>
                                        </td>
                                        <td style="width: 45%">
                                            <span style="white-space: nowrap"><a id="anPostAdmAdmEmail" runat="server" visible="false">
                                            </a></span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltSubContAdmNumber" runat="server" Text="Subcontract Administrator #:"
                                                Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="subContractAdminNumber" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                        <td style="width: 5%">
                                            <asp:Label ID="subConAdmEmail" runat="server" Text="Email:" Visible="false" Font-Bold="true"></asp:Label>
                                        </td>
                                        <td style="width: 45%">
                                            <span style="white-space: nowrap"><a id="anSubContEmail" runat="server" visible="false">
                                            </a></span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="Label" style="width: 50%">
                                            <asp:Literal ID="ltIRBAdminNumber" runat="server" Text="IRB Administrator #:" Visible="false"></asp:Literal>
                                        </td>
                                        <td>
                                            <asp:Literal ID="IRBAdminNumber" runat="server" Visible="false"></asp:Literal>
                                        </td>
                                        <td style="width: 5%">
                                            <asp:Label ID="IRBAdmEmail" runat="server" Text="Email:" Visible="false" Font-Bold="true"></asp:Label>
                                        </td>
                                        <td style="width: 45%">
                                            <span style="white-space: nowrap"><a id="anIRBAdmEmail" runat="server" visible="false">
                                            </a></span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 25%">
                                            <asp:Label ID="contactPhoneText" runat="server" Text="Research Finance Contact #:" Visible="false" Font-Bold="true"></asp:Label>
                                        </td>
                                        <td style="width: 25%">
                                            <asp:Label ID="contactPhone" runat="server" Visible="false" Font-Bold="false"></asp:Label>
                                        </td>
                                        <td style="width: 5%">
                                            <asp:Label ID="contactEmailText" runat="server" Text="Email:" Visible="false" Font-Bold="true"></asp:Label>
                                        </td>
                                        <td style="width: 45%">
                                            <span style="white-space: nowrap"><a id="contactEmail" runat="server" visible="false">
                                            </a></span>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table class="AgreementData" cellspacing="0" cellpadding="0" width="100%">
                        <!-- <tr class="Title">
								        <td colSpan="6">&nbsp;Notes</td>
							        </tr>-->
                        <tr>
                            <td style="width: 50%" colspan="3">
                                <asp:DataGrid ID="annotationDataGrid" runat="server" CssClass="DataGrid" AllowPaging="False"
                                    AllowSorting="True" AutoGenerateColumns="False">
                                    <ItemStyle CssClass="DataGridItem" />
                                    <AlternatingItemStyle CssClass="DataGridAlternatingItem" />
                                    <HeaderStyle CssClass="DataGridHeader" />
                                    <Columns>
                                        <asp:BoundColumn DataField="CreateDate" ReadOnly="True" HeaderText="Create Date" />
                                        <asp:BoundColumn DataField="UserName" ReadOnly="True" HeaderText="User Name" />
                                        <asp:BoundColumn DataField="Detail" ReadOnly="True" HeaderText="Comments" />
                                        <asp:BoundColumn DataField="AnnotationContainerId" ReadOnly="True" Visible="False" />
                                        <asp:BoundColumn DataField="AnnotationTypeId" ReadOnly="True" Visible="False" />
                                        <asp:BoundColumn DataField="Title" ReadOnly="True" Visible="False" />
                                        <asp:BoundColumn DataField="SbsOriginatorTypeId" ReadOnly="True" Visible="False" />
                                        <asp:BoundColumn DataField="FwkApplicationUserId" ReadOnly="True" Visible="False" />
                                    </Columns>
                                </asp:DataGrid>
                            </td>
                            <td valign="top" style="width: 50%" colspan="3">
                                <asp:Button ID="addAnnotation" runat="server" CssClass="Button" Visible="False" OnClick="OnAddNewAnnotation">
                                </asp:Button>
                                <p>
                                    <cc2:Annotation ID="newAnnotation" runat="server" DescriptionRows="8"></cc2:Annotation>
                                </p>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
